<?
 class News
 {

    var $db;
 
    function News($db)
    {
       $this->db = $db;
    }
	
    function SelectRSSNews($b,$c)
    {
       $query="SELECT * FROM rssnews ORDER BY id limit ".$b.",".$c;
       $news_ar=$this->db->ArrFromQuery($query);
       return $news_ar;
    }

 }
?>
